package com.pet.server.ext.action.home;

import com.pet.server.ext.ActionBase;
import com.pet.server.ext.ApiError;
import com.pet.server.ext.Result;
import com.pet.server.ext.util.Parameters;
import com.pet.server.ext.util.StringUtil;

public class Page extends ActionBase{

	private String redirect;
	
	public Page(){
		 needCheckAuth =false;
	}
	
	@Override
	public void initParameters(Parameters params) throws ApiError {	
		
	}
	
	@Override
	public Result invokeService() throws ApiError {
		Result result = new Result();
		result.setRedirect(StringUtil.dealNull(redirect,"../cactus/page.jsp"), "forward");//
	    return result;
	}


}
